package main

import "fmt"

func main() {
	res := getSclice(20)
	fmt.Println(res)
}

func getSclice(n int) []int {
	sclice := make([]int, n)

	sclice[0] = 1
	sclice[1] = 1

	for i := 2; i < n; i++ {
		sclice[i] = sclice[i-1] + sclice[i-2]
	}

	return sclice
}
